namespace CodeConsult.Nordic.nRF8001.ApplicationControlInterface.Events.SystemEvents
{
    public class PipeStatusEvent : AciEventBase
    {
        public const byte OpCode = 0x88;

        public byte[] PipesOpen { get; set; }
        public byte[] PipesClosed { get; set; }

        protected override void DecodeFromBuffer()
        {
            PipesOpen = DecodeHelper.GetBytes(8);
            PipesClosed = DecodeHelper.GetBytes(8);
        }
    }
}
